#ifndef __ADC_H__
#define __ADC_H__
#define ADC_BUFFER_SIZE 1000
#define DAC_SAMPLE_RATE_DEFAULT 100000
extern int DAC_Sample_Rate;
extern volatile uint8_t dma_transfer_complete;
extern uint16_t adc_buffer[ADC_BUFFER_SIZE];
void Sampling_Init(void);
void Sampling_Restart(void);
void RiseSampleRate(void);
void FallSampleRate(void);
void RecoverSampleRate(void);
#endif
